package com.erp.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2016/11/8/008.
 * 作者：刘洋
 */
public class Userdataonebean implements Parcelable {

    /**
     * customer:13858
     * shop_name : 测试专卖店
     * dizhi
     * customer_name : 张小姐
     * customer_tel : 11111111112
     * ps_name : 下单中
     * crm_c_contract_num : 201611234
     * xiaoshouyuan_name : 广州销售员任燕<br />广州设计师陈韶锋
     * designer_name : 常德设计师周琪
     * id:13858
     */
    public String crm_oid="";
    public String shop_name="";
    public String dizhi="";
    public String customer_name="";
    public String customer_tel="";
    public String ps_name="";
    public String crm_c_contract_num="";
    public String xiaoshouyuan_name="";
    public String designer_name="";


    public String oid="";
    public String onum="";
    public String contract_num="";
    public String customer="";
    public String tel="";
    public String ot_name="";
    public String content_description="";
    public String special_status="";
    public String special_service_cat="";
    public String o_special_service_cat="";

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.crm_oid);
        dest.writeString(this.shop_name);
        dest.writeString(this.dizhi);
        dest.writeString(this.customer_name);
        dest.writeString(this.customer_tel);
        dest.writeString(this.ps_name);
        dest.writeString(this.crm_c_contract_num);
        dest.writeString(this.xiaoshouyuan_name);
        dest.writeString(this.designer_name);
    }

    public Userdataonebean() {
    }

    protected Userdataonebean(Parcel in) {
        this.crm_oid = in.readString();
        this.shop_name = in.readString();
        this.dizhi = in.readString();
        this.customer_name = in.readString();
        this.customer_tel = in.readString();
        this.ps_name = in.readString();
        this.crm_c_contract_num = in.readString();
        this.xiaoshouyuan_name = in.readString();
        this.designer_name = in.readString();
    }

    public static final Creator<Userdataonebean> CREATOR = new Creator<Userdataonebean>() {
        @Override
        public Userdataonebean createFromParcel(Parcel source) {
            return new Userdataonebean(source);
        }

        @Override
        public Userdataonebean[] newArray(int size) {
            return new Userdataonebean[size];
        }
    };

    @Override
    public String toString() {
        return "Userdataonebean{" +
                "crm_oid='" + crm_oid + '\'' +
                ", shop_name='" + shop_name + '\'' +
                ", dizhi='" + dizhi + '\'' +
                ", customer_name='" + customer_name + '\'' +
                ", customer_tel='" + customer_tel + '\'' +
                ", ps_name='" + ps_name + '\'' +
                ", crm_c_contract_num='" + crm_c_contract_num + '\'' +
                ", xiaoshouyuan_name='" + xiaoshouyuan_name + '\'' +
                ", designer_name='" + designer_name + '\'' +
                ", oid='" + oid + '\'' +
                ", onum='" + onum + '\'' +
                ", contract_num='" + contract_num + '\'' +
                ", customer='" + customer + '\'' +
                ", tel='" + tel + '\'' +
                ", ot_name='" + ot_name + '\'' +
                ", content_description='" + content_description + '\'' +
                ", special_status='" + special_status + '\'' +
                ", special_service_cat='" + special_service_cat + '\'' +
                '}';
    }
}
